<span class='title_page'>Novo Usuários</span>
<br/>
<div class="form">
    <%= error_messages_for :user %>
    <% form_for :user, :url => users_path do |f| -%>

        <fieldset class="colunas">
            <div class="coluna-1">
                <p>
                    <%= f.label :login, 'Usuário:' %>
                    <%= f.text_field :login, :class => "input-text-layout" %>
                </p>

                <p>
                    <%= f.label :email, 'Email:' %>
                    <%= f.text_field :email, :class => "input-text-layout" %></p>

                <p>
                    <%= f.label :password, 'Senha:' %>
                    <%= f.password_field :password, :class => "input-text-layout" %></p>

                <p>
                    <%= f.label :password_confirmation, 'Confirme a senha:' %>
                    <%= f.password_field :password_confirmation, :class => "input-text-layout" %></p>

                <p>
                    <%= f.label :tipouser_id, 'Tipo de Usuário:' %>
                    <%= select :user, :tipouser_id, @tipousers, {:include_blank => true} , {:class => 'comboBox'} %></p>

                <p>
					<%= submit_tag 'Enviar', :class => "input-submit" %>
					<%= button_to_function "Voltar", "javascript:window.history.go(-1)", :class => "input-submit" %>
				</p>
            </div>
        </fieldset>
    <% end -%>
</div>
